package com.itheima.grow.service;

import com.itheima.grow.model.info.OssFileInfo;
import org.springframework.web.multipart.MultipartFile;

public interface OssService {


    /**
     * 上传头像到oss
     * @param file 文件对象
     * @return
     */
    OssFileInfo uploadFile(MultipartFile file);


    OssFileInfo uploadFile(byte[] bytes);
}
